<template>
  <div class="progressContainer">
    <div class="progressItem" :style="{width: barwidth + '%'}"></div>
  </div>
</template>

<script>
  export default {
    props: {
      barwidth: Number
    }
  }
</script>

<style scoped>
.progressContainer {
  position: relative;
  height: 10px;
  width: 100%;
  background-color: rgba(170,170,170,.8);
  /* background-color: rgba(6,24,43, .5); */
  border-radius: 5px;
}
.progressItem {
  position: absolute;
  height: 10px;
  width: 100%;
  background-color: rgba(17,198,241,1);
  border-radius: 5px;
  border: 1px solid rgba(17,198,241,1);
  background-color:rgba(17,198,241,1);
  box-sizing: border-box;
}
</style>